import React from 'react'
import {NavLink} from "react-router-dom" 
import {mainRouter} from "../router/RouterConfig"

function Fotter() {
    return mainRouter.map((item,index)=>{
        return <NavLink key={index} to={item.path}>{item.title}</NavLink>
    })
    
}

export default Fotter
